const Koa = require('koa')


// 实例化应用
const app = new Koa()

// 中间件
app.use(async (ctx) => {
    ctx.body = 'Hello world'
})

app.listen(8899, () => {
    console.log('listen on 8899');
})